package cn.ibobo.lease.app.dao;

import cn.ibobo.lease.common.base.BaseMapper;
import cn.ibobo.lease.common.dto.CouponDTO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 点金券表数据层处理接口
 * @Author lililiang
 * @Date 2018-12-13 18:38:03
 */
@Mapper
public interface CouponMapper extends BaseMapper<CouponDTO, String>{

    /**
     * @Description 点金券剩余数量减一
     * @Author lililiang
     * @Date 2019/2/20 20:13
     * @Param [cid]
     * @Return java.lang.Integer
     */
    Integer subOne(String cid);
}
